home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'OCXReg.pas' rev: 3.00
-
- #ifndef OCXRegHPP
- #define OCXRegHPP
- #include <OleCtrls.hpp>
- #include <DsgnIntf.hpp>
- #include <TypInfo.hpp>
- #include <Dialogs.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <ComObj.hpp>
- #include <SysUtils.hpp>
- #include <ActiveX.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ocxreg
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TOleControlEditor;
- class PASCALIMPLEMENTATION TOleControlEditor : public Dsgnintf::TDefaultEditor
- {
- typedef Dsgnintf::TDefaultEditor inherited;
-
- private:
- Classes::TStringList* FVerbs;
- void __fastcall DoVerb(int Verb);
-
- public:
- __fastcall virtual TOleControlEditor(Classes::TComponent* AComponent, Dsgnintf::TFormDesigner* ADesigner
- );
- __fastcall virtual ~TOleControlEditor(void);
- virtual void __fastcall Edit(void);
- virtual void __fastcall ExecuteVerb(int Index);
- virtual System::AnsiString __fastcall GetVerb(int Index);
- virtual int __fastcall GetVerbCount(void);
- };
-
- class DELPHICLASS TOleObjectEditor;
- class PASCALIMPLEMENTATION TOleObjectEditor : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- Dsgnintf::TPropertyEditor* FPropertyEditor;
-
- public:
- __fastcall virtual TOleObjectEditor(Dsgnintf::TPropertyEditor* PropertyEditor);
- virtual System::Variant __fastcall Edit(const System::Variant &OleObject);
- __property Dsgnintf::TPropertyEditor* PropertyEditor = {read=FPropertyEditor};
- public:
- /* TObject.Destroy */ __fastcall virtual ~TOleObjectEditor(void) { }
-
- };
-
- class DELPHICLASS TOleFontEditor;
- class PASCALIMPLEMENTATION TOleFontEditor : public Ocxreg::TOleObjectEditor
- {
- typedef Ocxreg::TOleObjectEditor inherited;
-
- public:
- virtual System::Variant __fastcall Edit(const System::Variant &OleObject);
- public:
- /* TOleObjectEditor.Create */ __fastcall virtual TOleFontEditor(Dsgnintf::TPropertyEditor* PropertyEditor
- ) : Ocxreg::TOleObjectEditor(PropertyEditor) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~TOleFontEditor(void) { }
-
- };
-
- class DELPHICLASS TOleObjectProperty;
- class PASCALIMPLEMENTATION TOleObjectProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual void __fastcall Edit(void);
- virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TOleObjectProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TOleObjectProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TOleCustomProperty;
- class PASCALIMPLEMENTATION TOleCustomProperty : public Dsgnintf::TPropertyEditor
- {
- typedef Dsgnintf::TPropertyEditor inherited;
-
- public:
- virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TOleCustomProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TOleCustomProperty(void) : Dsgnintf::TPropertyEditor() { }
-
- };
-
- class DELPHICLASS TOleEnumProperty;
- class PASCALIMPLEMENTATION TOleEnumProperty : public Dsgnintf::TOrdinalProperty
- {
- typedef Dsgnintf::TOrdinalProperty inherited;
-
- private:
- Olectrls::TEnumPropDesc* FEnumPropDesc;
-
- protected:
- __property Olectrls::TEnumPropDesc* EnumPropDesc = {read=FEnumPropDesc};
-
- public:
- virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
- virtual System::AnsiString __fastcall GetValue(void);
- virtual void __fastcall GetValues(Classes::TGetStrProc Proc);
- virtual void __fastcall Initialize(void);
- virtual void __fastcall SetValue(const System::AnsiString Value);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TOleEnumProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TOleEnumProperty(void) : Dsgnintf::TOrdinalProperty() { }
-
- };
-
- typedef System::TMetaClass*TOleObjectEditorClass;
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE void __fastcall RegisterOleObjectEditor(const GUID &IID, const System::AnsiString ClassName
- , System::TMetaClass* EditorClass);
- extern PACKAGE void __fastcall Register(void);
-
- } /* namespace Ocxreg */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ocxreg;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // OCXReg
-